package com.mt.grand.singleton.lazy;

import com.mt.grand.singleton.dto.SingletonInstance;

public class LazyTwo {

    public static class InnerClass1{
        public static SingletonInstance singletonInstance = new SingletonInstance("我是内部类1里的单例");
    }

    public static final SingletonInstance getInstance(){
        return InnerClass1.singletonInstance;
    }
}